/*    */ package com.yss.sofa.cml.log;
/*    */ 
/*    */ public class LogFactory
/*    */ {
/*  5 */   private static ILogFactory<ConsoleLogImpl> defaultFactory = new ConsoleLogFactory();
/*    */ 
/*    */   public static Log getLog(String className)
/*    */   {
/*  9 */     ILogFactory factory = LogConfig.getLogFactory();
/* 10 */     if (factory == null) {
/* 11 */       return (Log)defaultFactory.getLogInstance(className);
/*    */     }
/* 13 */     return factory.getLog(factory.getLogInstance(className));
/*    */   }
/*    */ 
/*    */   public static Log getLog(Class<?> clazz) {
/* 17 */     if (clazz == null) {
/* 18 */       return getLog("root");
/*    */     }
/* 20 */     return getLog(clazz.getName());
/*    */   }
/*    */ }

/* Location:           X:\repository\com\yss\sofa\cml\cml-api\1.1.0\cml-api-1.1.0.jar
 * Qualified Name:     com.yss.sofa.cml.log.LogFactory
 * JD-Core Version:    0.6.0
 */